package com.metis.document.parse.dialog.entity;

import com.metis.document.parse.dialog.utils.ByteArrayMultipartFile;

import java.io.OutputStream;

public class ParseParameter {

    private ByteArrayMultipartFile file;
    private OutputStream os;

    private String fileName;
    private String fileType;
    private Long fileSize;

    public ParseParameter() {
    }

    public ParseParameter(ByteArrayMultipartFile file, OutputStream os, String fileName, String fileType) {
        this.file = file;
        this.os = os;
        this.fileName = fileName;
        this.fileType = fileType;
        this.fileSize = file.getSize();
    }

    public ByteArrayMultipartFile getFile() {
        return file;
    }

    public void setFile(ByteArrayMultipartFile file) {
        this.file = file;
    }

    public OutputStream getOs() {
        return os;
    }

    public void setOs(OutputStream os) {
        this.os = os;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public Long getFileSize() {
        return fileSize;
    }

    public void setFileSize(Long fileSize) {
        this.fileSize = fileSize;
    }
}
